<template>
  <a-config-provider :locale="locale">
    <div id="app">
      <router-view/>
    </div>
  </a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import { detectDevice } from '@/utils'
export default {
  name: 'App',
  data () {
    return {
      locale: zhCN,
    }
  },
  computed: {
  },
  created() {
    const deviceInfo = detectDevice();
    console.log('检测登录设备信息：', deviceInfo);
  },
  methods: {
  }
}
</script>
<style scoped>

</style>
